package top.yxqz.sprinmvc.restful.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 余小小
 * @date: 2023/5/9
 * @description：
 * 1.Data: set\get\toString\hashcode\equals(JavaBean)
 * 2.AllArgsConstructor:有参构造，包括了所有的参数
 * 3.NoArgsConstructor:无参构造
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Integer id;
    private String lastName;
    private String email;
    //    1：man 0 ;woman
    private Integer gender;
}
